package com.danbay.framework.protocol.command.codec;


import com.danbay.framework.exception.MessageCodeException;

/**
 * 命令数据编码接口:将对象编码成字符串
 * @author sjg
 *
 */
public interface ICmdDataEncoder {

	/**
	 * 将对象编码成字符串
	 * @param obj
	 * @return
	 */
	public String encode(Object obj) throws MessageCodeException;
}
